package com.beasts.ant.page.repository;

import com.beasts.ant.page.entity.Layout;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @author Locker
 * @date 20/04/2018 11:04 AM
 * @since 1.0
 */
public interface LayoutRepository extends JpaRepository<Layout, String> {

    Layout findAllById(String pageId);

}
